package com.boboPlanet.dict.mapper;

import com.boboPlanet.comm.entity.po.FileDetailPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/7/11
 **/
@Mapper
public interface PlanetFileMapper {

    Boolean saveFile(@Param("po") FileDetailPO fileDetail);

    FileDetailPO getFileByUrl(@Param("url") String url);

    Boolean deleteFileById(@Param("id") Long id);

    FileDetailPO getFileById(@Param("id") Long id);
}
